package com.ruoyi.task.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 任务评论对象 task_comment
 *
 * @author KevenPotter
 * @date 2024-04-29 13:44:17
 */
@Data
@Accessors(chain = true)
public class TaskComment {

    private static final long serialVersionUID = 1L;

    /*主键编号*/
    private Long id;
    /*任务编号*/
    @Excel(name = "任务编号")
    private Long taskId;
    /*类目*/
    private String item;
    /*任务名称*/
    @Excel(name = "任务名称")
    private String taskTitle;
    /*评论内容*/
    @Excel(name = "评论内容")
    private String comment;
    /*评论图片*/
    @Excel(name = "评论图片")
    private String commentImage;
    /*发布评论人编号*/
    @Excel(name = "发布评论人编号")
    private Long fromUserId;
    /*被回复评论人编号*/
    @Excel(name = "被回复评论人编号")
    private Long toUserId;
    /*被回复评论编号*/
    @Excel(name = "被回复评论编号")
    private Long toCommentId;
    /*评论等级*/
    @Excel(name = "评论等级")
    private String level;
    /*审核人员编号*/
    @Excel(name = "审核人员编号")
    private Long reviewUserId;
    /*审核状态(1.审核等待 98.审核驳回 99.审核通过)*/
    @Excel(name = "审核状态(1.审核等待 98.审核驳回 99.审核通过)")
    private Integer reviewStatus;
    /*审核驳回原因*/
    @Excel(name = "审核驳回原因")
    private String reviewRejectionReason;
    /*创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /*审核时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    /*自定义属性*/

    /*评论图片列表*/
    private List<String> commentImageList;
    /*具体任务*/
    private String taskInfo;
    /*发布评论人名称*/
    private String fromUserName;
    /*被回复评论人名称*/
    private String toUserName;
}
